using MavenThought.Commons.WPF.Events;
using Microsoft.Practices.Unity;
using TFS.Kanban.Commons;
using TFS.Kanban.Commons.Container;

namespace TFS.Kanban.Desktop.Installers
{
    public class InfrastructureInstaller : IUnityContainerInstaller
    {
        public IUnityContainer Install(IUnityContainer container)
        {
            return container.RegisterType<IEventAggregator, EventAggregator>(new ContainerControlledLifetimeManager());
        }
    }
}